package lk.icta.common.dao;

import lk.icta.common.entity.RailwayStation;
import lk.icta.user.entity.User;

import java.util.Map;

/**
 * @author Supun Viraj Rathanayaka
 */
public interface RailwayStationDAO {

    /**
     * Returns All Railway Stations
     *
     * @param language the selected language
     * @param user     the user requesting the full Railway Station name list
     * @return a Map of all Railway Stations for the given language along with the station ID
     */
    Map<Integer,String> getAllRailwayStationsByUserLanguage(String language, User user);

    Map<Integer,String> getAllIPWZoneNamesByIPWId(int id, String language, User user);

    RailwayStation getRailwayStationByCode(String stationCode);
}
